package com.micromall.common.payment.dto.request;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

/**
 * Created by Dante Fung on 2017/6/21.
 */
@JsonRootName("body")
public class Body {

    @JsonProperty("MerBillNo")
    private String merBillNo="";

    @JsonProperty("Amount")
    private String amount="";

    @JsonProperty("Date")
    private String date="";

    @JsonProperty("CurrencyType")
    private String currencyType="";
    /**
     * GatewayType   支付方式  Not Null
         01#借记卡
         02#信用卡
         03#IPS 账户支付
         默讣 01
     */
    @JsonProperty("GatewayType")
    private String gatewayType="";

    @JsonProperty("Lang")
    private String lang="";

    @JsonProperty("Merchanturl")
    private String merchanturl="";

    @JsonProperty("FailUrl")
    private String failUrl="";

    @JsonProperty("Attach")
    private String attach="";

    @JsonProperty("OrderEncodeType")
    private String orderEncodeType="";

    @JsonProperty("RetEncodeType")
    private String retEncodeType="";

    @JsonProperty("RetType")
    private String retType="";

    @JsonProperty("ServerUrl")
    private String serverUrl="";

    @JsonProperty("BillEXP")
    private String billEXP="";

    @JsonProperty("GoodsName")
    private String goodsName="";

    @JsonProperty("IsCredit")
    private String isCredit="";

    @JsonProperty("BankCode")
    private String bankCode="";

    @JsonProperty("ProductType")
    private String productType="";

    public String getMerBillNo() {
        return merBillNo;
    }

    public void setMerBillNo(String merBillNo) {
        this.merBillNo = merBillNo;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getCurrencyType() {
        return currencyType;
    }

    public void setCurrencyType(String currencyType) {
        this.currencyType = currencyType;
    }

    public String getGatewayType() {
        return gatewayType;
    }

    public void setGatewayType(String gatewayType) {
        this.gatewayType = gatewayType;
    }

    public String getLang() {
        return lang;
    }

    public void setLang(String lang) {
        this.lang = lang;
    }

    public String getMerchanturl() {
        return merchanturl;
    }

    public void setMerchanturl(String merchanturl) {
        this.merchanturl = merchanturl;
    }

    public String getFailUrl() {
        return failUrl;
    }

    public void setFailUrl(String failUrl) {
        this.failUrl = failUrl;
    }

    public String getAttach() {
        return attach;
    }

    public void setAttach(String attach) {
        this.attach = attach;
    }

    public String getOrderEncodeType() {
        return orderEncodeType;
    }

    public void setOrderEncodeType(String orderEncodeType) {
        this.orderEncodeType = orderEncodeType;
    }

    public String getRetEncodeType() {
        return retEncodeType;
    }

    public void setRetEncodeType(String retEncodeType) {
        this.retEncodeType = retEncodeType;
    }

    public String getRetType() {
        return retType;
    }

    public void setRetType(String retType) {
        this.retType = retType;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public String getBillEXP() {
        return billEXP;
    }

    public void setBillEXP(String billEXP) {
        this.billEXP = billEXP;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getIsCredit() {
        return isCredit;
    }

    public void setIsCredit(String isCredit) {
        this.isCredit = isCredit;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    @Override
    public String toString() {
        return "Body{" +
                "merBillNo='" + merBillNo + '\'' +
                ", amount='" + amount + '\'' +
                ", date='" + date + '\'' +
                ", currencyType='" + currencyType + '\'' +
                ", gatewayType='" + gatewayType + '\'' +
                ", lang='" + lang + '\'' +
                ", merchanturl='" + merchanturl + '\'' +
                ", failUrl='" + failUrl + '\'' +
                ", attach='" + attach + '\'' +
                ", orderEncodeType='" + orderEncodeType + '\'' +
                ", retEncodeType='" + retEncodeType + '\'' +
                ", retType='" + retType + '\'' +
                ", serverUrl='" + serverUrl + '\'' +
                ", billEXP='" + billEXP + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", isCredit='" + isCredit + '\'' +
                ", bankCode='" + bankCode + '\'' +
                ", productType='" + productType + '\'' +
                '}';
    }
}
